<?php
class indexController extends Controller {
	
	public $table = 'page';
   
	public function initialize() {
	    $this->view->title = '';
		$this->view->layoutPath = 'template';
		$this->view->templateUrl = 'template';
		$this->view->setLayout = 'default';
		//------->>> add Javascript files $this->view->add_js('');
	
    }
    
    //--------------- Begin index function -----------------//
    
    public function indexAction() {
        $this->view->title = 'PG Schagen - Kerkbestuur';
		$this->getPageContent();
    	$this->view->show();
    }

    public function DiaconaleRaadAction(){
    	$this->view->title = 'PG Schagen - Diaconale Raad';
		$this->getPageContent();
    	$this->view->show();
    }

    public function pastoraleRaadAction(){
    	$this->view->title = 'PG Schagen - Pastorale Raad';
		$this->getPageContent();
    	$this->view->show();
    }

    public function KerkrentmeestersAction(){
    	$this->view->title = 'PG Schagen - Kerk rentmeesters';
		$this->getPageContent();
    	$this->view->show();
    }

    public function ModeramenAction(){
    	$this->view->title = 'PG Schagen - Moderamen';
		$this->getPageContent();
    	$this->view->show();
    }

    public function PastoresAction(){
    	$this->view->title = 'PG Schagen - Pastores';
		$this->getPageContent();
    	$this->view->show();
    }

    public function vierenlerenAction(){
    	$this->view->title = 'PG Schagen - Vieren en Leren';
		$this->getPageContent();
    	$this->view->show();
    }
}
